home *** CD-ROM | disk | FTP | other *** search
- FMSSORT.EXE :: RBBS-PC FMS FILE SORT UTILITY
-
- FmsSort will sort your FMS file directory and keep your extended
- descriptions. It will sort in date order or alphabetically, and in both
- ascending or descending order.
-
- FmsSort will sort both old and new style directories. Oldstyle
- directories (those without a fixed lenght line) take absolutley forever
- to write out. This is due to the support for extended lines and
- presumption by the programer that they aren't being used much. If it
- becomes neccessary the registered version will be speeded up and a switch
- will be added to remove extended line support.
-
- Running syntax is displayed by starting the program without any
- arguments. Three parameters are required, a fourth controls the ascending
- or descending sort order (default is ascending). The fifth will be used
- only if you have oldstyle .DIR's.
-
- FmsSort is limited by memory and the number of lines it can sort
- with your memory configuration will be displayed on the syntax display.
- Typically with 528000 bytes available memory FmsSort will sort an FMS file
- of 32500+ lines (well over two megs).
-
- Disk space equal(a bit more) to the size of the directory is required.
-
- Fmssort will ONLY retain 10 extended description lines. This will
- reported as an ERROR and the program execution will stop.
- FmsSort(registered) will retain 20 extended description lines,
- and you will be warned in the check portion of FmsSort.
- In both cases this will abort the program and will have to be fixed
- for the program to proceed. (I would also like to know why you need a whole
- screen display per file :)
-
- Note: If you are using RBBS's free text lines (those begining with
- an asterisk '*') FmsSort will not be able to guarantee placement.
- In alphabetical sortmode it is suggested that the asterisk be
- followed by a space e.g. * BLAH, will float the free text lines to
- the top in an ascending sort and to the bottom in a descending sort.
- If you leave out the space e.g. *BLAH the line will go with
- the B's. Date mode will always bring the free text lines to the top
- in a descending sort and to the bottom in a ascending sort.
-
- FmsSort(registered) is useful in Batch file for general maintanence
- to keep directories neat and in order catching format errors in a log file,
- etc. It can also be used to merge fms's.
- For example if you get files on the filebone you could have
- a batch setup to megre the files.bbs into your master for each area:
-
- COPY MASTER.DIR + \path\FILES.BBS + \diffpath\FILES.BBS
- FmsSort master.dir newfms.dir alpha
- rem you could check error return here
- del master.dir
- ren newfms.dir master.dir
-
- The above copies the files.bbs stuff into master.dir then sorts
- creating a new dir giving you a chance to check the errorlevel
- return. Then you can del and rename. Or:
-
- COPY MASTER.DIR + \path\FILES.BBS + \diffpath\FILES.BBS TEMP.dir
- FmsSort temp.dir master.dir alpha
-
- This will merge the files.bbs and master to a new file temp.dir.
- Then you can sort the new file outputing master.dir. The old
- master.dir will be renamed by FmsSort to be deleted or saved.
-
- This assumes you have figured out TICK so that Files.BBS is in
- proper FMS format :)
-
- These are the errolevel FmsSort will exit with if unsuccessful:
- /* errorlevel 1 - argument count error
- errorlevel 2 - file error origional fms open/acess
- errorlevel 3 - file error creating/renaming new fms
- errorlevel 4 - file error new fms open/acess
- errorlevel 5 - missing or unusable sorttype
- errorlevel 6 - insufficient disk space
- errorlevel 7 - read error
- errorlevel 8 - not an FMS file
- errorlevel 9 - FMS file format error
- errorlevel 10 - read error sourcefile
- errorlevel 11 - far heap memory allocation error
- errorlevel 12 - near heap memory allocation error
- errorlevel 13 - line number increment error
- */
-
- If you have any problems please let me know.
- Charles Arden Brill
- 8:918/1
- 1:343/81
- LETTERS RBBS (206)524-4811
-
- PLEA:
- If you wish the expanded capabilities FMSSORTR.EXE is available for
- Ten Dollars. FMSSORTR.EXE will allow up to 20 extended lines per description.
- No pause at finish for batch file operation. Any enhancements will go into
- the registered version. This will also secure your place in the Goodwill
- Hall of Fame because it is the right thing to do.
-
- Break down and use a pen and envelope and remit Cash or Check (preferable to
- you I would guess) to
- Charles Arden Brill
- 4812 NE 103rd
- Seattle Wa 98125
- You might make sure there is a name and address for me to send it to :)
- Or if you are totally electronically oriented include your FIDO RBBS
- addresses or BBS numbers and it will be transmitted.
- ---------------------------- THANK YOU ----------------------------
-